﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CVM.Core.Entities;

namespace CVM.View.List
{
    public class CandidateView
    {
        public CandidateView(Candidate candidate)
        {
            ID = candidate.ID;
            FirstName = candidate.FirstName;
            LastName = candidate.LastName;
            EmailID = candidate.EmailID;
            LastUpdated = candidate.LastUpdated;
            Created = candidate.Created;
        }

        public int ID;
        public string FirstName;
        public string LastName;
        public string EmailID;
        public DateTime LastUpdated;
        public DateTime Created;
    }
}